<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<script type="text/javascript" src="lib/PIE_IE678.js"></script>
<![endif]-->
<link href="css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="css/H-ui.admin.css" rel="stylesheet" type="text/css" />
<link href="lib/icheck/icheck.css" rel="stylesheet" type="text/css" />
<link href="lib/Hui-iconfont/1.0.6/iconfont.css" rel="stylesheet" type="text/css" />
<link href="lib/webuploader/0.1.5/webuploader.css" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>新增U_match_works</title>
</head>
<body>
<div class="pd-20">
	<form action="%=path%>/backstage/u_match_works-add" method="post" class="form form-horizontal" id="form-u_match_works-add">
		<input type="hidden" id="id" name="id" value='${u_match_works.works_id}' />
        
        <div class="row cl">
			<label class="form-label col-2">赛事ID：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.match_id}" placeholder="" id="" name="match_id" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">参赛者姓名：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.join_name}" placeholder="" id="" name="join_name" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">参赛者身份证号：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.join_card_id}" placeholder="" id="" name="join_card_id" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">性别 女0， 男1：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.sex}" placeholder="" id="" name="sex" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">联系电话：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.mobile}" placeholder="" id="" name="mobile" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">省：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.province}" placeholder="" id="" name="province" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">市：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.city}" placeholder="" id="" name="city" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">区：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.area}" placeholder="" id="" name="area" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">详细地址：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.address}" placeholder="" id="" name="address" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">作品名：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.works_name}" placeholder="" id="" name="works_name" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">作品介绍：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.works_desc}" placeholder="" id="" name="works_desc" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">上传作品类型 0图片， 1视频：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.works_type}" placeholder="" id="" name="works_type" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">上传作品地址：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.works_url}" placeholder="" id="" name="works_url" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">佐证视频地址：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.vedio_url}" placeholder="" id="" name="vedio_url" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">状态 0等待审核， 1审核通过， 2审核不通过：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.status}" placeholder="" id="" name="status" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">审核不通过原因：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.reject_reason}" placeholder="" id="" name="reject_reason" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.ext1}" placeholder="" id="" name="ext1" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.ext2}" placeholder="" id="" name="ext2" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.ext3}" placeholder="" id="" name="ext3" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.ext4}" placeholder="" id="" name="ext4" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.ext5}" placeholder="" id="" name="ext5" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">审核人ID：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.audit_by}" placeholder="" id="" name="audit_by" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        <div class="row cl">
			<label class="form-label col-2">审核时间：</label>
            <div class="formControls col-2">
                <input type="text" class="input-text" value="${u_match_works.audit_time}" placeholder="" id="" name="audit_time" datatype="*" nullmsg="不能为空">
        	</div>
		</div>
        
		<div class="row cl">
			<div class="col-10 col-offset-2">
				<button onClick="u_match_works_save_submit();" class="btn btn-primary radius" type="submit"><i class="Hui-iconfont">&#xe632;</i> 保存并提交</button>
				<button onClick="layer_close();" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
			</div>
		</div>
	</form>
</div>
</div>
<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="lib/layer/2.1/layer.js"></script> 
<script type="text/javascript" src="lib/My97DatePicker/WdatePicker.js"></script> 
<script type="text/javascript" src="lib/icheck/jquery.icheck.min.js"></script> 
<script type="text/javascript" src="lib/Validform/5.3.2/Validform.min.js"></script> 
<script type="text/javascript" src="lib/webuploader/0.1.5/webuploader.min.js"></script> 
<script type="text/javascript" src="lib/ueditor/1.4.3/ueditor.config.js"></script>
<script type="text/javascript" src="lib/ueditor/1.4.3/ueditor.all.min.js"> </script>
<script type="text/javascript" src="lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="js/H-ui.js"></script> 
<script type="text/javascript" src="js/H-ui.admin.js"></script> 
<script type="text/javascript">

function u_match_works_save_submit(){
	$("#form-u_match_works-add").Validform({
		tiptype:2,
		ajaxPost:true,
		callback:function(form){
			var index = parent.layer.getFrameIndex(window.name);
			if (index){//关闭弹出层
				parent.$('.btn-refresh').click(); 
				parent.layer.close(index);
			}else{//单独的页面
				location.href = "%=path%>/backstage/u_match_works-list"; 
			}
		}
	});
}

</script>
</body>
</html>

